package com.example.ktpspringboot.mapper;

import com.example.ktpspringboot.entity.HomeWork;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface HomeWorkMapper {
     public int insertHomeWork(HomeWork homeWork);

     public int insertCourseAndHomeWork(String courseCode,String hwId);

     public List<HomeWork> getHomeWorkByCode(String code);
}
